<?php

namespace App\Console\Commands\Erm;
use App\Repositories\ErmPublicListRepository;
use Illuminate\Console\Command;

class StatisticAmount extends Command
{
    //命令名
    protected $signature = 'task:statistic_amount';

    //命令描述
    protected $description = '用户收益、消费统计';

    public function __construct()
    {
        parent::__construct();
    }

    //业务处理
    public function handle()
    {
        $task = new ErmPublicListRepository();
        //用户收益、消费统计
        $task->statisticAmount();
    }

}